﻿@using SpielMitMirFinal.Models
@{
    SquareInformation[,] opMap = ViewBag.opMap;
}
<div class="col-md-12" id="opponentSector">
    <div class="col-md-12">
        <table id="opponetTable" data-deleting="false" data-boats="5">
            @for (int i = 0; i < 10; i++)
            {
                <tr>
                    @for (int j = 0; j < 10; j++)
                    {
                        <th style="width:20px;height:20px">
                            @Html.Partial("~/Views/Shared/Partial/_OpponentSquare.cshtml", opMap[i,j])
                        </th>
                    }
                </tr>
            }
        </table>
    </div>
</div>